package com.ksy.common.api;

import android.support.annotation.Keep;

/**
 * Created by Ksy.
 */
@Keep
public class LoginInfo {
    public String phone;
    public String password;

    public String openId;
    public String type;//1:微信 2:QQ

    public int loginType;//-1(手机号) 1(三方登陆)

    private static LoginInfo userInfo;

    private LoginInfo() {
    }

    public static LoginInfo getLoginInfo() {
        if (userInfo == null) {
            synchronized (LoginInfo.class) {
                if (userInfo == null) {
                    userInfo = new LoginInfo();
                    return userInfo;
                }
            }
        }
        return userInfo;
    }
}
